package com.heima.api.comment;

import com.heima.model.comment.dtos.CommentDto;
import com.heima.model.comment.dtos.CommentLikeDto;
import com.heima.model.comment.dtos.CommentSaveDto;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "评论管理controller")
public interface CommentControllerApi {
    @ApiOperation("保存评论信息")
    ResponseResult saveComment(CommentSaveDto dto);

    @ApiOperation("点赞某一条评论")
    ResponseResult like(CommentLikeDto dto);

    @ApiOperation("根据文章ID查询评论列表")
    ResponseResult findByArticleId(CommentDto dto);
}
